第一次接触git!!!
 //作用是读取微信传来的信息并将其转换成xml字符串
    public static String convertToString(InputStream inputStream) throws
            IOException {
        ByteArrayOutputStream outSteam = new ByteArrayOutputStream();
        byte[] buffer = new byte[1024];
        int len = 0;
        while ((len = inputStream.read(buffer)) != -1) {
            outSteam.write(buffer, 0, len);
        }
        outSteam.close();
        inputStream.close();
        String result = new String(outSteam.toByteArray(), "utf-8");
        return result;
    }

我是里斯:
      response.getWriter().write(data);
        } catch (Exception e) {
            e.printStackTrace();
        }